<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	response.setHeader("Content-Type" , "text/html");
	
	String rootPath = application.getRealPath( "/" );
	String result=new ActionEnter( request, rootPath ).exec();
	String regex="\"url\": \"";
	String[] resultStr=result.split(regex);
	if(resultStr.length==2){
		out.write(resultStr[0]+regex+request.getContextPath()+resultStr[1]);
	}else{
		out.write(result);
	}

	
	
%>